<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>Reference</title>
    <link rel="stylesheet" href="../luadoc.css" type="text/css" />
	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
</head>

<body>
<div id="container">

<div id="product">
	<div id="product_logo"></div>
	<div id="product_name"><big><b></b></big></div>
	<div id="product_description"></div>
</div> <!-- id="product" -->

<div id="main">

<div id="navigation">


<h1>LuaDoc</h1>
<ul>
	
	<li><a href="../index.html">Index</a></li>
	
</ul>


<!-- Module list -->



<!-- File list -->

<h1>Files</h1>
<ul>

	<li>
		<a href="../files/c.html">c.lua</a>
	</li>

	<li><strong>callback.lua</strong></li>
	
	<li>
		<a href="../files/main.html">main.lua</a>
	</li>

	<li>
		<a href="../files/stringExtend.html">stringExtend.lua</a>
	</li>

</ul>






</div> <!-- id="navigation" -->

<div id="content">

<h1>File <code>callback.lua</code></h1>







<h2>Functions</h2>
<table class="function_list">

	<tr>
	<td class="name" nowrap><a href="#c_ASSIGN">c_ASSIGN</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when assignement detected This is a callback assigned in checks like a = b </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_BRACE_CLOSE">c_BRACE_CLOSE</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a brace close is detected This is a callback assigned in checks like } </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_BRACE_OPEN">c_BRACE_OPEN</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a brace open is detected This is a callback assigned in checks like { </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_BREAK">c_BREAK</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a break is detected This is a callback assigned in checks like break restricted keyword! </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_COMMA">c_COMMA</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a comma detected This is a callback assigned in checks like , </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_COMMENT_CPP">c_COMMENT_CPP</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a single line comment is detected This is a callback assigned in checks like // </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_COMMENT_MULTI">c_COMMENT_MULTI</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a multi line comment is detected This is a callback assigned in checks like /* ** */ </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_CONTINUE">c_CONTINUE</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a continue is detected This is a callback assigned in checks like continue restricted keyword! </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_FOR">c_FOR</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a for is detected This is a callback assigned in checks like for restricted keyword! </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_FPAREN_CLOSE">c_FPAREN_CLOSE</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a closing bracket is detected in function declaration This is a callback assigned in checks like ( </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_FPAREN_OPEN">c_FPAREN_OPEN</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a opening bracket is detected in function declaration This is a callback assigned in checks like ( </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_FUNC_CALL">c_FUNC_CALL</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a function call is detected This is a callback assigned in checks like lol() This is important to log function calls for static qualifier checks! </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_FUNC_DEF">c_FUNC_DEF</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a function declaration is detected This is a callback assigned in checks like int main() </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_GOTO">c_GOTO</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a goto is detected This is a callback assigned in checks like goto restricted keyword! </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_NEWLINE">c_NEWLINE</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when newline detected This is a callback assigned in checks like \n </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_PP_IF">c_PP_IF</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a preprocessor if is detected This is a callback assigned in checks like #ifndef </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_PP_INCLUDE">c_PP_INCLUDE</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a preprocessor include is detected This is a callback assigned in checks like #include "lol.h" </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_QUALIFIER">c_QUALIFIER</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when qualifier detected This is a callback assigned in checks like const, static, inline..</td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_SEMICOLON">c_SEMICOLON</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when semicolon detected This is a callback assigned in checks like ; </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_STRING">c_STRING</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a string is detected This is a callback assigned in checks like "lol.h" </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_SWITCH">c_SWITCH</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a switch is detected This is a callback assigned in checks like switch restricted keyword! </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_TYPE">c_TYPE</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a type is detected This is a callback assigned in checks like int, char, t_context..</td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_WHILE_OF_DO">c_WHILE_OF_DO</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a do while is detected This is a callback assigned in checks like do {} while () restricted keyword! </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#c_WORD">c_WORD</a>&nbsp;(text, parent)</td>
	<td class="summary">Called when a word is detected This is a callback assigned in checks like variale, macro..</td>
	</tr>

</table>






<br/>
<br/>




<h2><a name="functions"></a>Functions</h2>
<dl class="function">



<dt><a name="c_ASSIGN"></a><strong>c_ASSIGN</strong>&nbsp;(text, parent)</dt>
<dd>
Called when assignement detected This is a callback assigned in checks like a = b


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_BRACE_CLOSE"></a><strong>c_BRACE_CLOSE</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a brace close is detected This is a callback assigned in checks like }


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_BRACE_OPEN"></a><strong>c_BRACE_OPEN</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a brace open is detected This is a callback assigned in checks like {


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_BREAK"></a><strong>c_BREAK</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a break is detected This is a callback assigned in checks like break restricted keyword!


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_COMMA"></a><strong>c_COMMA</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a comma detected This is a callback assigned in checks like ,


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_COMMENT_CPP"></a><strong>c_COMMENT_CPP</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a single line comment is detected This is a callback assigned in checks like //


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_COMMENT_MULTI"></a><strong>c_COMMENT_MULTI</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a multi line comment is detected This is a callback assigned in checks like /* ** */


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_CONTINUE"></a><strong>c_CONTINUE</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a continue is detected This is a callback assigned in checks like continue restricted keyword!


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_FOR"></a><strong>c_FOR</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a for is detected This is a callback assigned in checks like for restricted keyword!


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_FPAREN_CLOSE"></a><strong>c_FPAREN_CLOSE</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a closing bracket is detected in function declaration This is a callback assigned in checks like (


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_FPAREN_OPEN"></a><strong>c_FPAREN_OPEN</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a opening bracket is detected in function declaration This is a callback assigned in checks like (


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_FUNC_CALL"></a><strong>c_FUNC_CALL</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a function call is detected This is a callback assigned in checks like lol() This is important to log function calls for static qualifier checks!


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_FUNC_DEF"></a><strong>c_FUNC_DEF</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a function declaration is detected This is a callback assigned in checks like int main()


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_GOTO"></a><strong>c_GOTO</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a goto is detected This is a callback assigned in checks like goto restricted keyword!


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_NEWLINE"></a><strong>c_NEWLINE</strong>&nbsp;(text, parent)</dt>
<dd>
Called when newline detected This is a callback assigned in checks like \n


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_PP_IF"></a><strong>c_PP_IF</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a preprocessor if is detected This is a callback assigned in checks like #ifndef


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_PP_INCLUDE"></a><strong>c_PP_INCLUDE</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a preprocessor include is detected This is a callback assigned in checks like #include "lol.h"


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_QUALIFIER"></a><strong>c_QUALIFIER</strong>&nbsp;(text, parent)</dt>
<dd>
Called when qualifier detected This is a callback assigned in checks like const, static, inline..


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_SEMICOLON"></a><strong>c_SEMICOLON</strong>&nbsp;(text, parent)</dt>
<dd>
Called when semicolon detected This is a callback assigned in checks like ;


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_STRING"></a><strong>c_STRING</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a string is detected This is a callback assigned in checks like "lol.h"


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_SWITCH"></a><strong>c_SWITCH</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a switch is detected This is a callback assigned in checks like switch restricted keyword!


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_TYPE"></a><strong>c_TYPE</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a type is detected This is a callback assigned in checks like int, char, t_context..


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_WHILE_OF_DO"></a><strong>c_WHILE_OF_DO</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a do while is detected This is a callback assigned in checks like do {} while () restricted keyword!


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>




<dt><a name="c_WORD"></a><strong>c_WORD</strong>&nbsp;(text, parent)</dt>
<dd>
Called when a word is detected This is a callback assigned in checks like variale, macro..


<h3>Parameters</h3>
<ul>
	
	<li>
	  text: token text
	</li>
	
	<li>
	  parent: parent token
	</li>
	
</ul>






<h3>Return value:</h3>
nothing



</dd>


</dl>







</div> <!-- id="content" -->

</div> <!-- id="main" -->

<div id="about">
	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
</div> <!-- id="about" -->

</div> <!-- id="container" -->	
</body>
</html>
